﻿using ImGuiNET;
using System;
using System.Collections.Generic;
using System.Text;
using TTEditor;

namespace FakeUnity.Editor
{
    class WindowDemo : IWindow
    {
        public WindowDemo()
        {
            this.enable = true;
        }
        public bool inwindowlist => true;

        public bool enable
        {
            get;
            private set;
        }
        public bool candock => true;


        public string title => "demo";
        public void OnUpdate()
        {
        }
        public void OnGUI()
        {
            ImGui.ShowDemoWindow();
        }

        public void OnClose()
        {
            enable = false;
        }

        public void Show()
        {
            enable = true;
        }
    }
}
